package com.example.accumulate.practice;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * @author Mundo
 * @version 1.0
 * @description TODO
 * @date 2021/1/27 0027 15:52
 */
@RestController
@RequestMapping("/mundo")
public class TestController {
    @RequestMapping("/testWeb")
    public Object testWeb(HttpServletRequest request) {
        String name = request.getParameter("name");
        return "Hello " + name;
    }
}
